package cn.com.api.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.com.api.entity.ApiCash;
import cn.com.api.entity.ApiT_Cash;
import cn.com.api.entity.ApiT_shops_apply;
import cn.com.util.*;

public interface ApiCashMapper {

	public boolean addShopCash(ApiCash apiCash);

	public List<Map<String, Object>> searByShopId(@Param("shopid") String shopid, @Param("status") String status);

	public Map<String, Object> searCashById(@Param("cashid") String cashid, @Param("status") String status);

	public List<Map<String, Object>> searAll();

	public Map<String, Object> searCashInfo(@Param("cashid") String cashid);

	public List<Map<String, Object>> searByShopCashId(@Param("map") Map map);

	public boolean reviewCash(@Param("money") Double money, @Param("status") String status, @Param("id") String id);

	public List<Map<String, Object>> searCashByShopId(@Param("shopid") String shopid, @Param("rid") String rid,
			@Param("time") String time, @Param("stime") String stime, @Param("etime") String etime);

	public Double cashSum(@Param("shopid") String shopid);

	public List<ApiT_Cash> courierTransferListPage(@Param("cond") ApiT_Cash conditions,
			@Param("page") PageInfo pageInfo);

}